function handleAddKeyStoreRequest(xhr, status, args) {
	if (args.validationFailed) {
		return;
	}
	if (!args.keyStoreAdded) {
		return;
	}
	addDialog.hide();
}

function handleSaveKeyStoreRequest(xhr, status, args) {
	if (args.validationFailed) {
		return;
	}
	if (!args.keyStoreSaved) {
		return;
	}
	editDialog.hide();
}